<?php
namespace app\common\exception;
use app\common\exception\BaseException;

/**
* 版本控制异常类异常类
*/
class VersionException extends BaseException
{
	protected $code 		= 404;
	protected $message 	    = '版本有误';
	protected $errorCode 	= 1000000;
	/**
	 *  $errorCode => $message
	 */
	protected $info 		= [
		1000000 => '版本有误',
		1000001 => "接口回参不能为空",
		1000002 => "版本控制器必须继承版本控制器基类：app\\common\\tools\\Version",
		1000003 => "没有版本号"
	];
}